package
{
	import flash.display.Graphics;
	
	import struct.login.LoginModule;
	import struct.scene.SceneModule;

	public class Game
	{
		private var main:Main;
		public function Game(main:Main)
		{
			this.main = main;
		}
		
		public function startGame():void
		{
			//测试添加背景色
			var g:Graphics = Main.application.baselayer.graphics;
			g.beginFill(0x00);
			g.drawRect(0, 0, Main.application.width, Main.application.height);
			g.endFill();
			//启动登陆
			LoginModule.getInstance().startUp();
			
		}
	}
}